package cn.wzg.Singleton;

import java.net.InetSocketAddress;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;

public class LocalTempSingleton {
    private static final ConcurrentHashMap<String, List<InetSocketAddress>> localtemp=new ConcurrentHashMap<>();
    private LocalTempSingleton(){
        System.out.println("实例化单例缓存成功");
    }
    public static ConcurrentHashMap<String,List<InetSocketAddress>> getLocaltemp(){
        return localtemp;
    }

}
